define(function(){
	function json1(){
		$.ajax({
			type:"get",
			url:"http://127.0.0.1/XiaoZhuangWangXiangMu/json/index2.json",
			async:true,
			success:function(json){
				var title ="";
				for(var attr in json){
					if(attr == "footer"){
						for(var i = 0;i < json[attr].length;i ++){
							title+=`<li>
						          <img src="img/${json[attr][i].src}"/>
						          <a class="de">${json[attr][i].a}</a>
						          <a class="fe">${json[attr][i].aa}</a>
						          <span class="ge">${json[attr][i].span}</span>
						          <span class="je">${json[attr][i].sp}</span>
					  </li>`
							$(".enter").html(title);
						}
					}
				}
			}
		})
	}
	return {
		json1 : json1
	}
})
